
//网络歌单的批量查询
function SongList(data) {
    return $.ajax({
        url: "https://api.gumengya.com/Api/MusicList?format=json&url=https://y.qq.com/n/yqq/playlist/"+data+".html/",
        method: 'get',
    })
}

//网络歌单的批量入库
function addSongList(data) {
    return $.ajax({
        // http://localhost:8080
        url: "/song/addSongList",
        method: 'post',
        contentType: 'application/json;charset=UTF-8',
        dataType: 'json',
        data: JSON.stringify(data)
    });

}